package com.hnust.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class Position implements Serializable {
  private static final long serialVersionUID = 1L;
  private String id;
  private Integer regionCode;
  private Integer buildCode;
  private Integer floorCode;
  private Integer roomCode;
  @TableField(fill = FieldFill.INSERT)
  private LocalDateTime createTime;
  @TableField(fill = FieldFill.INSERT_UPDATE)
  private LocalDateTime updateTime;
}
